<head>
<script>
	$(function() {
		$( "#username" ).autocomplete({
			source: "__URL__/checkName",
			minLength: 1,
		});
	});
</script>
</head>
<layout name='layout' />
<title>编写信件</title>

 
    <div class="form-container"> 
 
    <form action="__URL__/send" method="post"> 
    
  
    
    <fieldset> 
        <legend>撰写信件</legend> 
            <div><label for="username" class="error">发送给： <em>*</em></label> <input name="username" type="text" class="error" id="username" value="" /></div>
            <div><label for="title">主题</label> <input id="title" type="text" name="title" value="" size="30" /></div> 
            <div style="height:200px;"><label for="content">内容</label>
              <textarea name="content" cols="20" id="content" ></textarea>
            </div> 
             <div class="buttonrow"> 
        <input type="submit" value="发送" class="button" /> 
    </div> 
            </fieldset>
            </form>